package org.budo.dubbo.router.sticky;

import java.util.List;

import com.alibaba.dubbo.common.URL;
import com.alibaba.dubbo.rpc.Invocation;
import com.alibaba.dubbo.rpc.Invoker;
import com.alibaba.dubbo.rpc.RpcException;
import com.alibaba.dubbo.rpc.cluster.Router;

/**
 * http://dubbo.apache.org/zh-cn/docs/dev/impls/router.html
 * 
 * @author lmw
 */
public class BudoStickyRouter implements Router {
    @Override
    public int compareTo(Router o) {
        throw new RuntimeException();
    }

    @Override
    public URL getUrl() {
        throw new RuntimeException();
    }

    @Override
    public <T> List<Invoker<T>> route(List<Invoker<T>> invokers, URL url, Invocation invocation) throws RpcException {
        throw new RuntimeException();
    }
}